//
//  NSDate+Age.h
//  MTRiPad
//
//  Created by Danyow.Ed on 2017/3/10.
//  Copyright © 2017年 lachesis. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Age)


/**
 字符串转生日

 @param birthday 生日格式为 2012-12-12T13:13:13.100+0800
 @return 生日
 */
+ (NSString *)ageFromBirthdayString:(NSString *)birthday;

- (NSString *)ageFrombirthdayDate;

- (NSString *)stringWithFormat:(NSString *)fromat;

+ (NSInteger)getAgeFromPersonCard:(NSString *)cardId;
@end
